October 22, 2024
v3 Delete encrypted file
Description:
delete an encrypted file
URI:
https://api.multitel.net/v3/delete_encrypted_file/${encrypted_file_id}
Methods:
POST
Sample Output:
{
"status": {
"code": 200,
"msg": "Success"
},
"response": []
}
Sample Code:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.multitel.net/v3/delete_encrypted_file/68d28da6-d368-48b2-ab29-0e6071d35294',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'Authorization: Basic YWRtaW46Vnc0OXBYNk',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;